#-*-Makefile-*- vim:syntax=make

TOSMAKE_PROGRAMMER_TYPE = zbp

ZBP_PORT = $(ZBP)

ifneq ($(ZBP_BAUDRATE),)
ZBP_BAUDRATE = " -baudrate $(ZBP_BAUDRATE)"
endif

PROGRAMMER = java net.tinyos.util.ZigbitProgrammer
PROGRAMMER_FLAGS = -port $(ZBP_PORT)$(ZBP_BAUDRATE) -reset
PROGRAMMER_INSTALL_SREC_FLAGS = -upload $(INSTALL_SREC)
